package io.github.wanggit.antrpc.commons;

import org.junit.Assert;
import org.junit.Test;

public class CamelNameUtil {

    @Test
    public void testCamelNameToLineName() {
        String camelName = "interfaceBreakerConfigs";
        Assert.assertEquals(
                "interface-breaker-configs", camelName.replaceAll("([A-Z])", "-$1").toLowerCase());
    }
}
